Conditions | 1 |
Total Lines | 7 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import commander from 'commander' |
||
4 | export default function linkCommand(program: typeof commander) { |
||
5 | return program |
||
6 | .command('link') |
||
7 | .description('Create a new Nginx vhost config for your current project.') |
||
8 | .action(() => { |
||
9 | (new SitesController()).executeLink().catch(err => console.log(err.message)) |
||
10 | }) |
||
11 | } |